High level test bench generation using software engineering concepts

نویسندگان

  • Jean François Santucci
  • Christophe Paoli
چکیده

The tool to be presented in the panel deals with validation of VHDL descriptions at the early phase of the design of a digital system. Our approach consists in generating test data from a given VHDL behavioral description. The validation is achieved by comparing the results obtained using the simulation of the VHDL description within the test data and the results which should have been obtained from the specification of the system to be designed. Our approach is based on software testing concepts. We choose such an approach because a VHDL description is a software program describing the behavior of a digital system. The problem is to generate test data using software engineering concepts. Generating test data points out the resolution of three basic problems : (i) it is necessary to define the number of test data to be considered (this number is called the length of the test data in the following) ; (ii) it is necessary to define criteria which express the “quality” requirements that the test data have to fulfill ; (iii) it is necessary to define an algorithm allowing to generate test data. To solve these problems we are concerned with testing techniques developed in the field of software engineering. This interest is motivated by the fact that behavioral hardware languages such as VHDL and conventional languages such as C or ADA are supported by common concepts. Having selected criteria from the field of software testing allowing the three aforementioned problems to be solved, we are in the phase of studying how such criteria could be measured and applied to VHDL behavioral descriptions. In order to find criteria which could estimate the length of test data and express the quality of test data, we have been concerned with two kinds of techniques: (i) the computation of cyclomatic complexity metric (McCabe metrics) and (ii) the application of coverage-based metrics. The generation of test data is based on a powerful algorithm issued from software testing methods : this algorithm allows to calculate the minimum number of control flow paths which are sufficient for the generation of all possible execution paths involved in a VHDL description. The McCabe metric and the previous algorithm are based on a graphical representation of the control part of the software being tested. McCabe defined a cyclomatic number of a graph associated with the control part of software. This number represents the number of linearly independent paths of the graph. He proved that the cyclomatic number represents the minimum number of test data to be generated in order to test the control part of software. In order to evaluate the quality of test data, conventional software testing criteria are used. These criteria correspond to coverage based metrics. Using the concepts issued from software engineering, it is obvious that theses concepts are easily used on the control flow representation of VHDL descriptions. The only efficient way to verify that a design description written in VHDL operates as expected is to simulate it. To simulate a circuit, the tester will need to develop an additional VHDL program called test bench. We propose in the figure of at side a framework for deriving test benches for VHDL descriptions. The test data generator tool is represented by the grayed box. We are in the phase of validating the software allowing to automatically generate test data for VHDL descriptions from the previous concepts. The software has been realized in common LISP on a SPARC SUN workstation. Comparator

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Genetic Algorithms: Concepts, Applications in Software Engineering and Test Data Generation using GA and Hamming Distance Approach

The basic objective of software engineering is to develop methods and procedures for software development that can scale up for large systems and that can be used consistently to produce high-quality software at low cost and with a small cycle of time. The effective and timely development of software requires the activities of software engineering be automated to large extent and human resource...

متن کامل

Using Architecture Models to Support the Generation and Operation of Component-Based Adaptive Systems

Modelling architectural information is particularly important because of the acknowledged crucial role of software architecture in raising the level of abstraction during development. In the MDE area, the level of abstraction of mod-ion during development. In the MDE area, the level of abstraction of models has frequently been related to low-level design concepts. However, modeldriven technique...

متن کامل

An Automatic Safety-Based Test Case Generation Approach Based on Systems-Theoretic Process Analysis

Software safety remains one of the essential and vital aspects in today’s systems. Software is becoming responsible for most of the critical functions of systems. Therefore, the software components in the systems need to be tested extensively against their safety requirements to ensure a high level of system safety. However, performing testing exhaustively to test all software behaviours is imp...

متن کامل

Race: A Word-Level ATPG-Based Constraints Solver System For Smart Random Simulation

Functional verification of complex designs largely relies on the use of simulation in conjunction high-level verification languages (HVL) and test-bench automation (TBA) tools. In a constraints-based verification methodology, constraints are used to model the environmental restrictions of the Design Under Verification (DUV), and are specified using HVL constructs. The job of a constraints solve...

متن کامل

Efficient approaches to testing VHDL DSP models

Generation of test benches for large DSP behavioral models is a complicated, labor intensive task. Also, tests generated manually satisfy no formal definition of completeness. To address these needs, high level approaches to test bench development are employed which relieve the modeler of the details of this task. CASE tools are used to develop the test bench VHDL code, i.e., state machine beha...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999